Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the SBOM_BLOB_URL for v0.2 buildah tasks #1192

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

arewm
Copy link
Member

@arewm arewm commented Jul 24, 2024

Now that the BASE_IMAGE_DIGESTS result has been removed, there should be enough room for us to re-add the SBOM_BLOB_URL. This will enable EC verification of the SBOM based on the digest which is recorded in the provenenance. It will prevent supply-chain attacks which are driven by modifying the floating tag of the uploaded SBOM.

Even with the referrer's API, the digest can be used to identify which SBOM should be the one built from Konflux.

This was added in #645 and then removed in #654 due to the limitation of Tekton results' size.

Before you complete this pull request ...

Look for any open pull requests in the repository with the title "e2e-tests update" and
see if there are recent e2e-tests updates that will be applicable to your change.

@arewm arewm force-pushed the buildah-sbom-blob-url branch 6 times, most recently from e574bd0 to 552ce13 Compare July 24, 2024 22:57
@arewm arewm enabled auto-merge July 25, 2024 00:11
Copy link
Contributor

@chmeliik chmeliik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not convinced this solves any immediate issues, since EC also reads the SBOM embedded in the image.

But adding the SBOM_BLOB_URL does sound good to me. Can we also stop injecting the SBOM into the image (maybe bump the version to 0.3 for responsible versioning?)

Copy link
Contributor

@chmeliik chmeliik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a small nitpick

@arewm arewm added this pull request to the merge queue Jul 25, 2024
@arewm arewm force-pushed the buildah-sbom-blob-url branch from 552ce13 to 3d3e23c Compare July 25, 2024 12:33
@arewm arewm removed this pull request from the merge queue due to a manual request Jul 25, 2024
@arewm arewm force-pushed the buildah-sbom-blob-url branch from 3d3e23c to f2d24c5 Compare July 25, 2024 12:44
Now that the BASE_IMAGE_DIGESTS result has been removed, there should
now be enough room for us to re-add the SBOM_BLOB_URL. This will enable
EC verification of the SBOM based on the digest which is recorded in the
provenenance. It will prevent supply-chain attacks which are driven by
modifying the floating tag of the uploaded SBOM.

Even with the referrer's API, the digest can be used to identify which
SBOM should be the one built from Konflux.

This was added in konflux-ci#645 and then removed in konflux-ci#654 due to the limitation of
Tekton results' size.

Signed-off-by: arewm <[email protected]>
@arewm arewm force-pushed the buildah-sbom-blob-url branch from f2d24c5 to f0162a8 Compare July 25, 2024 12:48
@chmeliik
Copy link
Contributor

Can we also stop injecting the SBOM into the image (maybe bump the version to 0.3 for responsible versioning?)

For open-source-ness: discussed on internal slack, decided to defer this to a separate change because it could have some implications

@arewm arewm enabled auto-merge July 25, 2024 12:49
@arewm arewm added this pull request to the merge queue Jul 25, 2024
Merged via the queue into konflux-ci:main with commit 5004c6a Jul 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants